All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
KzsWindowProperties Struct Reference

Properties for a window. More...

#include <system/display/kzs_window.h>

Public Attributes

kzInt x
 X position of the window (in pixels). More...
 
kzInt y
 Y position of the window (in pixels). More...
 
kzInt order
 Z order of the window (target platform specific value). More...
 
kzUint width
 Width of the window (in pixels). More...
 
kzUint height
 Height of the window (in pixels). More...
 
enum KzsWindowStyle style
 Style properties of the window. More...
 
kzUint defaultDisplayIndex
 Index of default display for full-screen windows. More...
 

Detailed Description

Properties for a window.

Position is defined as the distance from the top-left corner of the desktop to the top-left corner of the window, measured towards the center of the desktop. If style is set to KZS_WINDOW_STYLE_FULL_SCREEN, the window position is ignored and the primary screen resolution is changed to match the requested window size. If both width and height is set to zero, no change of resolution is attempted.

Member Data Documentation

kzInt KzsWindowProperties::x

X position of the window (in pixels).

Use KZS_WINDOW_POSITION_DEFAULT to let the system choose the position.

kzInt KzsWindowProperties::y

Y position of the window (in pixels).

Use KZS_WINDOW_POSITION_DEFAULT to let the system choose the position.

kzInt KzsWindowProperties::order

Z order of the window (target platform specific value).

Use KZS_WINDOW_POSITION_DEFAULT to let the system choose the position.

kzUint KzsWindowProperties::width

Width of the window (in pixels).

Use 0 to use the maximum width available on the primary screen.

kzUint KzsWindowProperties::height

Height of the window (in pixels).

Use 0 to use the maximum height available on the primary screen.

enum KzsWindowStyle KzsWindowProperties::style

Style properties of the window.

kzUint KzsWindowProperties::defaultDisplayIndex

Index of default display for full-screen windows.


The documentation for this struct was generated from the following file: